package scau.erps.service;
import java.util.List;
import java.util.Map;

import scau.erps.entity.Material;

/** 
 * 原材料订单服务接口
 * @author  outsider
 * 
 */
public interface MaterialService {
    public void applyMaterialOrder(Material material); 
    public List<Material> getAllMaterialOrder();
    public List<Material> getMaterial(int team_Id, String type, String status);//查找一个用户@author FYJ
    public List<Material> getGetMaterialOrder(int team_Id,String getTime); //
    public List<Material> getPayMaterialOrder(int team_Id,String payTime);
    public void sellMateria(int team_Id,String type,int num);
    public int updateStore(int team_Id,String time);
    public boolean payMaterialOrder(int team_Id,String time);
    public Material getMaterialById(int materialId);//查找一个用户@author FYJ
    public void updateMaterial(Material material);//更新status状态@author FYJ
    public Map<String,Integer> getAmountOfGet(int team_Id,String getTime);
}
